import type { RouteRecordRaw } from 'vue-router'

interface menuItem {
  applyFlag: number,
  componeent: string,
  deptName: string,
  funcType: string,
  icon: string,
  id: string,
  name: string,
  operType: string | null,
  path: string,
  remark: string,
  sysCode: string
}
// 定义仓库数据state类型
export interface UserState {
  token: string | null,
  refreshToken: string | null,
  menuRoutes: RouteRecordRaw[],
  username: string,
  avatar: string,
  userInfo: any,
  roleInfo: any,
  menuList: menuItem[],
  hasRoute: boolean
}
